package top.aniss.spark.beifeng;

import java.security.Signature;

/**
 * @author Andre Wei
 * create 2018-07-11 下午1:16
 */
public class Singleton {

    private static Singleton instance = null;

    private Singleton(){

    }

    public static Singleton SgetInstance(){
        if (instance == null) {
            synchronized (Signature.class) {
                if (instance == null) {
                    instance = new Singleton();
                }
            }
        }
        return instance;
    }
}
